import {fetch, post, put} from "@/utils/request.js";

export function getEmployeeList(data) {
  return fetch('/service_system/user', data)
}

export function changeEmployee(data) {
  return put('/service_system/user', data)
}

export function getPositionList(data) {
  return fetch('/service_system/roles', data)
}

export function addPosition(data) {
  return post('/service_system/roles', data)
}
